package com.ccf.business.etl.service;

import com.ccf.business.etl.model.RuleSynonym;
import com.common.model.result.PageResult;
import com.common.model.pojo.Query;
import com.service.mybatis.service.ISuperService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;


/**
 * 
 *
 * @author zhaoj
 * @date 2021-11-29 10:41:10
 */
public interface IRuleSynonymService extends ISuperService<RuleSynonym> {
    /**
     * 列表
     * @param query
     * @return
     */
    PageResult findList(Query query);

    /**
     * 导入同义词
     * @param file
     * @return
     */
    boolean importSynonym(MultipartFile file) throws IOException;

    /**
     * 删除
     * @param id
     * @return
     */
    boolean deleteValidate(String id);
}

